<!--  -->
<template>
  <div class="lsh-tool-btn">
    <SvgIcon
      class="lsh-icon"
      :name="name" />
    <slot></slot>
  </div>
</template>

<script setup lang="ts">
import { ref, onMounted } from "vue";
import SvgIcon from "@/components/SvgIcon/index.vue";
defineProps<{
  name: string;
}>()
</script>
<style scoped lang="less">
.lsh-tool-btn {
  cursor: pointer;
  color: rgba(255, 255, 255, 1);
  font-family: "PingFang SC";
  font-size: 14px;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 4px;
  .lsh-icon {
    font-size: 20px;
  }
}
</style>
